var App = {};
var path = '/base/api/';

App.AxeModel = Backbone.Model.extend({
	urlRoot: '<?php Yii::app()->baseUrl; ?>' + path + 'axe',
	idAttribute: 'id',
   parent: null
});

App.AxeCollection = Backbone.Collection.extend({
	model: App.AxeModel,
	url: '<?php Yii::app()->baseUrl; ?>' + path + 'axe'
});

App.ValueModel = Backbone.Model.extend({
	urlRoot: '<?php Yii::app()->baseUrl; ?>' + path + 'value',
	idAttribute: 'id',
   parent: null  
});

App.ValueCollection = Backbone.Collection.extend({
	model: App.ValueModel,
	url: '<?php Yii::app()->baseUrl; ?>' + path + 'value'
});
